#ifndef MYTHREAD_H
#define MYTHREAD_H

#include <QObject>

class MyThread : public QObject
{
    Q_OBJECT
public:
    explicit MyThread(QObject *parent = nullptr);

    void supportThread();

    void setRun(bool b);

signals:
    void mySignal();

public slots:

private:
    bool isRun = true;
};

#endif // MYTHREAD_H
